[INFO] cloning repository https://github.com/aratan/hacklang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aratan/hacklang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faratan%2Fhacklang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faratan%2Fhacklang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9955519c695c27eefca5f9a2034a173fe420e539
[INFO] fixing aratan/hacklang against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faratan%2Fhacklang" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aratan/hacklang
[INFO] finished tweaking git repo https://github.com/aratan/hacklang
[INFO] tweaked toml for git repo https://github.com/aratan/hacklang written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aratan/hacklang on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aratan/hacklang already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1
[INFO] running `Command { std: "docker" "start" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking hacklangc v0.1.0 (/opt/rustwide/workdir/hacklangc)
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]  --> hacklangc/src/ast.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::lexer::{Token, Number};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]  --> hacklangc/src/ast.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::lexer::{Token, Number};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/parser.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     true_branch,
[INFO] [stdout]     |                     ^^^^^^^^^^^ expected `Box<Expression>`, found `Expression`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expression>`
[INFO] [stdout]                  found enum `ast::Expression`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     true_branch: Box::new(true_branch),
[INFO] [stdout]     |                     ++++++++++++++++++++++           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/parser.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     false_branch,
[INFO] [stdout]     |                     ^^^^^^^^^^^^ expected `Box<Expression>`, found `Expression`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expression>`
[INFO] [stdout]                  found enum `ast::Expression`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     false_branch: Box::new(false_branch),
[INFO] [stdout]     |                     +++++++++++++++++++++++            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ast::Expression` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> hacklangc/src/parser.rs:366:71
[INFO] [stdout]     |
[INFO] [stdout] 366 |                 return Err(format!("Se esperaba ':' después de '{}'", key));
[INFO] [stdout]     |                                                                 --    ^^^ `ast::Expression` cannot be formatted with the default formatter
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `ast::Expression`
[INFO] [stdout]    --> hacklangc/src/ast.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub enum Expression {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Value` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> hacklangc/src/evaluador.rs:99:45
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 println!("{} | eval_binop", result);
[INFO] [stdout]    |                           --                ^^^^^^ `Value` cannot be formatted with the default formatter
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Value`
[INFO] [stdout]   --> hacklangc/src/evaluador.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Value {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:139:70
[INFO] [stdout]     |
[INFO] [stdout] 139 |             (Value::String(l), &Value::Number(r)) => self.str_num_op(*l, r, op),
[INFO] [stdout]     |                                                           ---------- ^^ expected `&str`, found `String`
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn str_num_op(&self, s: &str, r: f64, op: &Token) -> Value {
[INFO] [stdout]     |        ^^^^^^^^^^        -------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 139 |             (Value::String(l), &Value::Number(r)) => self.str_num_op(&*l, r, op),
[INFO] [stdout]     |                                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Value` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:143:74
[INFO] [stdout]     |
[INFO] [stdout] 143 |         println!("{} | apply_binop | eval_expression | eval_expression", result);
[INFO] [stdout]     |                   -- required by this formatting parameter               ^^^^^^ `Value` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Value`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub enum Value {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:166:37
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let lv: Value = s;
[INFO] [stdout]     |                             -----   ^ expected `Value`, found `&String`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:168:63
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if let Value::String(l) = s.to_string() + &lv {
[INFO] [stdout]     |                                                               ^^^ expected `&str`, found `&Value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&str`
[INFO] [stdout]                found reference `&Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if let Value::String(l) = s.to_string() + &lv {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^   ------------------- this expression has type `String`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected `String`, found `Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/parser.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     true_branch,
[INFO] [stdout]     |                     ^^^^^^^^^^^ expected `Box<Expression>`, found `Expression`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expression>`
[INFO] [stdout]                  found enum `ast::Expression`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     true_branch: Box::new(true_branch),
[INFO] [stdout]     |                     ++++++++++++++++++++++           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `&String` to `f64`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:174:23
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     l += &s;
[INFO] [stdout]     |                       ^^ no implementation for `f64 += &String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<&String>` is not implemented for `f64`
[INFO] [stdout] help: `f64` implements trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign`
[INFO] [stdout]    ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign<&f64>`
[INFO] [stdout]     = note: this error originates in the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/parser.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     false_branch,
[INFO] [stdout]     |                     ^^^^^^^^^^^^ expected `Box<Expression>`, found `Expression`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<ast::Expression>`
[INFO] [stdout]                  found enum `ast::Expression`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     false_branch: Box::new(false_branch),
[INFO] [stdout]     |                     +++++++++++++++++++++++            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn num_str_op(&self, l: f64, rval: Value, _op: &Token) -> Value {
[INFO] [stdout]     |                                                               ----- expected `Value` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 178 |                     str_val
[INFO] [stdout]     |                     ^^^^^^^ expected `Value`, found `String`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `evaluador::Value::String`
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     evaluador::Value::String(str_val)
[INFO] [stdout]     |                     +++++++++++++++++++++++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:198:46
[INFO] [stdout]     |
[INFO] [stdout] 198 |             value: Expression::NumberLiteral(1),
[INFO] [stdout]     |                    ------------------------- ^ expected `f64`, found integer
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> hacklangc/src/ast.rs:31:5
[INFO] [stdout]     |
[INFO] [stdout]  31 |     NumberLiteral(f64),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 198 |             value: Expression::NumberLiteral(1.0),
[INFO] [stdout]     |                                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq!(1, true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ expected integer, found `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `{integer}` with `bool`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq!(1, true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ no implementation for `{integer} == bool`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<bool>` is not implemented for `{integer}`
[INFO] [stdout]     = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]               f128
[INFO] [stdout]               f16
[INFO] [stdout]               f32
[INFO] [stdout]               f64
[INFO] [stdout]               i128
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]             and 8 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ast::Expression` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> hacklangc/src/parser.rs:366:71
[INFO] [stdout]     |
[INFO] [stdout] 366 |                 return Err(format!("Se esperaba ':' después de '{}'", key));
[INFO] [stdout]     |                                                                 --    ^^^ `ast::Expression` cannot be formatted with the default formatter
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `ast::Expression`
[INFO] [stdout]    --> hacklangc/src/ast.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub enum Expression {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Value` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> hacklangc/src/evaluador.rs:99:45
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 println!("{} | eval_binop", result);
[INFO] [stdout]    |                           --                ^^^^^^ `Value` cannot be formatted with the default formatter
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Value`
[INFO] [stdout]   --> hacklangc/src/evaluador.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Value {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:139:70
[INFO] [stdout]     |
[INFO] [stdout] 139 |             (Value::String(l), &Value::Number(r)) => self.str_num_op(*l, r, op),
[INFO] [stdout]     |                                                           ---------- ^^ expected `&str`, found `String`
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn str_num_op(&self, s: &str, r: f64, op: &Token) -> Value {
[INFO] [stdout]     |        ^^^^^^^^^^        -------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 139 |             (Value::String(l), &Value::Number(r)) => self.str_num_op(&*l, r, op),
[INFO] [stdout]     |                                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Value` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:143:74
[INFO] [stdout]     |
[INFO] [stdout] 143 |         println!("{} | apply_binop | eval_expression | eval_expression", result);
[INFO] [stdout]     |                   -- required by this formatting parameter               ^^^^^^ `Value` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Value`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub enum Value {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:166:37
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let lv: Value = s;
[INFO] [stdout]     |                             -----   ^ expected `Value`, found `&String`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:168:63
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if let Value::String(l) = s.to_string() + &lv {
[INFO] [stdout]     |                                                               ^^^ expected `&str`, found `&Value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&str`
[INFO] [stdout]                found reference `&Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                     if let Value::String(l) = s.to_string() + &lv {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^   ------------------- this expression has type `String`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected `String`, found `Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `&String` to `f64`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:174:23
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     l += &s;
[INFO] [stdout]     |                       ^^ no implementation for `f64 += &String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<&String>` is not implemented for `f64`
[INFO] [stdout] help: `f64` implements trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign`
[INFO] [stdout]    ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign<&f64>`
[INFO] [stdout]     = note: this error originates in the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn num_str_op(&self, l: f64, rval: Value, _op: &Token) -> Value {
[INFO] [stdout]     |                                                               ----- expected `Value` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 178 |                     str_val
[INFO] [stdout]     |                     ^^^^^^^ expected `Value`, found `String`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `evaluador::Value::String`
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     evaluador::Value::String(str_val)
[INFO] [stdout]     |                     +++++++++++++++++++++++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `ident`
[INFO] [stdout]   --> hacklangc/src/parser.rs:80:51
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     let ident = name.clone();
[INFO] [stdout]    |                         ----- move occurs because `ident` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 76 |                             func: Box::new(Expression::Identifier(ident)),
[INFO] [stdout]    |                                                                   ----- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 80 |                             name: format!("_temp_{ident}"),
[INFO] [stdout]    |                                                   ^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 76 |                             func: Box::new(Expression::Identifier(ident.clone())),
[INFO] [stdout]    |                                                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:198:46
[INFO] [stdout]     |
[INFO] [stdout] 198 |             value: Expression::NumberLiteral(1),
[INFO] [stdout]     |                    ------------------------- ^ expected `f64`, found integer
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> hacklangc/src/ast.rs:31:5
[INFO] [stdout]     |
[INFO] [stdout]  31 |     NumberLiteral(f64),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] help: use a float literal
[INFO] [stdout]     |
[INFO] [stdout] 198 |             value: Expression::NumberLiteral(1.0),
[INFO] [stdout]     |                                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq!(1, true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ expected integer, found `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `{integer}` with `bool`
[INFO] [stdout]    --> hacklangc/src/evaluador.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq!(1, true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ no implementation for `{integer} == bool`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<bool>` is not implemented for `{integer}`
[INFO] [stdout]     = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]               f128
[INFO] [stdout]               f16
[INFO] [stdout]               f32
[INFO] [stdout]               f64
[INFO] [stdout]               i128
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]             and 8 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `ident`
[INFO] [stdout]   --> hacklangc/src/parser.rs:80:51
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     let ident = name.clone();
[INFO] [stdout]    |                         ----- move occurs because `ident` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 76 |                             func: Box::new(Expression::Identifier(ident)),
[INFO] [stdout]    |                                                                   ----- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 80 |                             name: format!("_temp_{ident}"),
[INFO] [stdout]    |                                                   ^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 76 |                             func: Box::new(Expression::Identifier(ident.clone())),
[INFO] [stdout]    |                                                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hacklangc` (bin "hacklangc") due to 15 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hacklangc` (bin "hacklangc" test) due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1", kill_on_drop: false }`
[INFO] [stdout] 2821d8889137bc7de31e785bad0879a8c3a3a761814764cf6fa86ea9396bc1f1
